package com.frinder.demo1;

import java.util.List;

/**
 * Created by frinder on 2017/7/24.
 */
public final class Message {

    private int age;
    private List<String> list;

    public Message(int age, List<String> list) {
        this.age = age;
        this.list = list;
    }

    public int getAge() {
        return age;
    }

    public List<String> getList() {
        return list;
    }

    @Override
    public String toString() {
        return "Message{" +
                "age=" + age +
                ", list=" + list +
                '}';
    }
}
